package com.jic.point.mapper;
import com.jic.point.model.entity.SettSupplierBalance;

import java.util.List;
public interface SettSupplierBalanceMapper {
	/**
	 * SETT_SUPPLIER_BALANCE插入数据
	 * @param settSupplierBalance 入参实体类
	 */
	int insert (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE插入数据
	 * @param settSupplierBalance 入参实体类
	 */
	int insertSelective (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE根据表对象数据修改数据
	 * @param settSupplierBalance 入参实体类
	 */
	int updateByPrimaryKey (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE根据表对象数据修改数据
	 * @param settSupplierBalance 入参实体类
	 */
	int updateByPrimaryKeySelective (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE根据id删除数据
	 * @param settSupplierBalance 入参实体类
	 */
	int deleteByPrimaryKey (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE根据主键查询数据
	 * @param settSupplierBalance 入参实体类
	 */
	SettSupplierBalance selectByPrimaryKey (SettSupplierBalance settSupplierBalance);
	SettSupplierBalance selectByCode (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE根据主键查询数据
	 * @param settSupplierBalance 入参实体类
	 */
	List<SettSupplierBalance> listPageBySelective (SettSupplierBalance settSupplierBalance);

	/**
	 * SETT_SUPPLIER_BALANCE查询数据
	 * @param settSupplierBalance 入参实体类
	 */
	List<SettSupplierBalance>  selectBySelective (SettSupplierBalance settSupplierBalance);

	/**
	 * 查询全部
	 * @return
	 */
    List<SettSupplierBalance> getAllTheQuery();


	/**
	 * 供应商台账
	 */

	int getStandingBook(List<SettSupplierBalance> settSupplierBalance);

	/**
	 * 结算时状态修改为已结算
	 * @param request
	 * @return
	 */
	long updateById(SettSupplierBalance request);

}
